<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>文本插值</title>
    </head>
    <body>
        <div id="app">
            <p>Message: {{ msg }}</p>
            <p v-once>Once Message: {{ onceMsg }}</p>
        </div>

        <script type="module">
            import Vue from '../vue.esm.browser.js'
        
            const app = new Vue({
                el: '#app',
                data: {
                    msg: 'Hello, Vue!',
                    onceMsg: 'Hello World!'
                }
            })
        </script>
    </body>
</html>